Learn how to create and integrate custom connectors with Web SDK. Follow step-by-step instructions to build your own connector using existing templates.
id
for your connector to avoid conflicts with other connectors. You can also customize fields such as name
, logoDark
, and logoLight
to control how the connector appears in Web SDK.
The createConnector
function from wagmi should return an initialized connector. Web SDK connectors are wrappers of Wagmi connectors, so you can use an official Wagmi connector if available, or create your own if needed.
For more details on creating custom connectors, refer to Wagmi’s guide on Custom Connectors.
getDefaultConnectors
utility function. Instead, you need to pass custom configurations to Web SDK.
First, create a list of connectors, including your custom connector, and provide it to the Wagmi configuration:
id
in either the socialAuthOptions
or walletAuthOptions
field of the Web SDK configuration: